home *** CD-ROM | disk | FTP | other *** search
/ Greenhouse Effect Detection Expriment / NASA Greenhouse Effect Detection Expriment 1992 - Disc 2.iso / software / dos / cdf22pc / src / tools / curses / readme < prev    next >
Encoding:
Text File  |  1991-12-23  |  4.8 KB  |  112 lines

  1.  
  2.                     PC curses 1.3+ or 1.4+ ?  
  3.  
  4.           The version number will be determined later
  5.           This copy is only a quick HACK. It will get
  6.           better soon. Please send comments back to me.
  7.  
  8. I have got a lot of responses from the net of people interested in PC
  9. curses. However I also learn a few weird things
  10.  
  11.     - Bjorn Larsson the original author who ported the UNIX curses to
  12.       the PC has died suddenly in Sept 91 of illness. Well I am saddened
  13.       about this.
  14.  
  15.     - There are PC curses 1.4 and beta of 1.5 (never released, by an
  16.       American ?) and this American folk is working on his version 2.0
  17.       (not released either) promising to support deskview.
  18.  
  19.     - There is an Australian folk in Brisbane helping the above American
  20.       friend to build a colour scheme.
  21.  
  22.     - I have spent only 3 days fixing up this package. Be ware that
  23.       there are better beta versions out there if you know where to
  24.       hunt. If you find them please do let me know.
  25.  
  26. The information has confused me. Where do I fit into the picture ? But
  27. my interest is largely in C++ which the other two are not doing, so that
  28. could be where this PC curses is heading to. I hope to join the other
  29. two and possibly other silent workers to get one single powerful pc
  30. curses package.
  31.  
  32. What extra features do you get from this HACK of PC curses ?
  33. ============================================================
  34.  
  35.     * This copy of PC curses was hacked from PC curses 1.3 then I
  36.       discovered PC curses 1.4 in simtel-20. I quickly added the changes
  37.       in. So it is now theoretically up-to-date with 1.4 from Bjorn
  38.       Larsson. Here are the extra bits.
  39.  
  40.     - You get a fairly ANSI-C compatible package. It will compile with
  41.       BorlandC++ with no warnings!
  42.  
  43.     - You can compile C++ programs with it  (please read hints.txt)
  44.  
  45.     - You have a scheme of EGA/VGA colours which is easy to use because
  46.       I like simple things.
  47.  
  48.     - You get a demo program which demonstrate what curses do best. This
  49.       is the ability to update screen fast when little changes are made
  50.       every where in your windows. However painting a brand new window
  51.       is SLOW ! Other guys are working on this. I am waitting for them
  52.       do get it faster.
  53.  
  54.     - I also tidy up the makefile. Now there is only one makefile for
  55.       TurboC++/BorlandC++. MSC users will have to write their own from
  56.       the idea in the Makefile. It is esentially compiling all the *.c
  57.       files and archive them into a library.
  58.  
  59. Future C++ enhancements
  60. -----------------------
  61.     I would love to get comments from the users about things that can be
  62. done. I can see interesting concepts like the following :
  63.  
  64.     - An C++ class object call view_window. To display a file for users
  65.       to read, you simply drop the file name into the object.
  66.  
  67.     - A Logo window object, you drop a filename in and give it a number
  68.       of seconds. The logo will be displayed for the number of seconds
  69.       and disappear.
  70.  
  71.     - A clock object. You call it any time and tell it where you want
  72.       it. A digital clock will be display on a corner of your screen.
  73.  
  74. These are only examples of useful Object Oriented C++ classes for
  75. curses. I am not interested in a full blown menu management library just
  76. interesting and handy things.
  77.  
  78. Here are the files in the package
  79.  
  80.     - README            : this file itself
  81.     - CURSES.MAN        : Original manual text by Bjorn Larsson
  82.     - README.DOC        : Original README text by Bjorn Larsson
  83.     - HINTS.TXT         : Some hints    
  84.     - CHANGES.TXT       : Changes I made to the  PC curses 1.3
  85.     - COLOURS.TXT       : Description of EGA/VGA colours
  86.     - All *.c files     : the source files
  87.     - All *.lib files   : pre-compiled libraries in all models
  88.     - Curses.h          : header file for C and C++
  89.     - Makefile          : Makefile for TurboC++ / BorlandC++
  90.     - rm.com            : a good profram to remove files
  91.     + Demo.c/.exe       : A demo program written for ANSI-C
  92.     + Demo-pp.cpp/.exe  : The same demo program for Borland's C++
  93.  
  94. Installation notes
  95. ------------------
  96.     Simply copy all the  *.lib files to where your libraries are kept.
  97. Copy curses.h to where your C header files are kept or keep it where you
  98. are writting you own program.
  99.  
  100.     Now just use curses the way you always do. If you are new to curses
  101. you have to struggle a bit. Reading the  curses.man file is the starting
  102. place, then the demo programs.
  103.  
  104.     You may want to recompile the package if you have TurboC++ or
  105. BorlandC++. Just type  make  and everything will hopefully be alright.
  106. If you have different compiler say MSC, modify the makefile for it. All
  107. the objects file names are in curses.cmd
  108.  
  109.     Type make clean when you finish. This will clean the object files
  110. out to give back disk space.
  111.  
  112.